//
//  ChannelNum.m
//  DianNaoWang
//
//  Created by dllo on 15/11/3.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "TopShowCollectionViewCell.h"
#import "UIImageView+WebCache.h"
@implementation TopShowCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self creatViews];
    }
    return self;
}

- (void)creatViews
{
    _RotatoryShowImageView = [[UIImageView alloc]init];
    [self.contentView addSubview:_RotatoryShowImageView];
        
}

-(void)layoutSubviews
{
    _RotatoryShowImageView.frame = CGRectMake(0, 0, ScreenWidth, 200 * FitHeight);
}

-(void)setTopRotatoryShowPics:(TopRotatoryShowPics *)topRotatoryShowPics
{
    if (_topRotatoryShowPics != topRotatoryShowPics) {
        _topRotatoryShowPics = topRotatoryShowPics;
    }
    [_RotatoryShowImageView sd_setImageWithURL:[NSURL URLWithString:topRotatoryShowPics.imgsrc] placeholderImage:[UIImage imageNamed:@"123"]];
}














@end
